FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\BaseProvider S

Total Complexity 36
Dependencies 2
Dependents 0
Total lines 260
Lines of code 129
Logical lines of code 41
Comment lines 86
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
getCommonData()
S
57 1 18
validateLoginIntent()
S
65 2 9
getSecret()
S
74 2 4
isSecretValid()
S
78 2 3
handleUserProfileSubmit()
S
91 1 2
renderUserProfileCustomForm()
S
65 1 9
getProfileRenderData()
S
72 1 6
getProviderSpecificRenderData()
S
82 1 3
processRemovalFromAccount()
S
91 1 2
getFormField()
S
82 1 3
captureLoginAttempt()
S
91 1 2
postSuccessActions()
S
82 1 3
auditLogin()
S
100 1 0
postOtpProcessAction()
S
76 1 4
getLoginFormParameter()
S
79 1 3
fetchCodeFromRequest()
S
78 1 3
renderUserProfileOptions()
S
70 1 7
__construct()
S
91 1 2
processOtp()
S
100 1 0
genNewSecret()
S
82 1 3
getJavascriptVars()
S
82 1 3
setProfileValidated()
S
73 1 5
remove()
S
72 1 5
resetSecret()
S
73 1 5
deleteSecret()
S
73 1 5
isProviderEnabled()
S
100 1 0
isProviderAvailableToUser()
S
81 1 3
isProfileActive()
S
80 1 3
isEnforced()
S
82 1 3
hasValidSecret()
S
80 1 3
hasValidatedProfile()
S
78 1 3
getProviderName()
S
100 1 0
setSecret()
S
73 1 5